package com.youcan.dao;

import java.util.List;

import com.youcan.entity.User;


/**
 * @author LiChao E-mail:what_is_javascript@163.com
 * @date:2012-8-18 上午12:07:06
 * @version :V1.0
 */

public interface UserDAO {
	public abstract void init();
	public abstract void save(User user);
	public abstract void delete(User user);
	public abstract void update(User user);
	@SuppressWarnings("unchecked")
	public abstract List findByProperty(String propertyName, Object value);
	public abstract List findAll();
}